package com.lapis17.stock.service;

import cn.hutool.http.server.HttpServerResponse;
import com.lapis17.stock.pojo.domain.InnerMarketDomain;
import com.lapis17.stock.pojo.domain.StockBlockDomain;
import com.lapis17.stock.pojo.domain.StockUpdownDomain;
import com.lapis17.stock.vo.resp.PageResult;
import com.lapis17.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
    R<List<InnerMarketDomain>> getStockInfo();

    R<List<StockBlockDomain>> getStockBlock();

    R<PageResult<StockUpdownDomain>> stockInfoByPage(Integer page, Integer pageSize);

    R<List<StockUpdownDomain>> getIncrease();

    R<Map<String, List>> stockInfoUpDownCount();

    void exportStockUpDownInfo(Integer page, Integer pageSize, HttpServletResponse httpServletResponse);

    R<Map<String, List>> getStockComparedTradeAmt();

    R<Map> getStockInfoCount();
}
